package com.hutao.medical.pojo.quality;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MedQuaConRepairlogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MedQuaConRepairlogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMrIdIsNull() {
            addCriterion("mr_id is null");
            return (Criteria) this;
        }

        public Criteria andMrIdIsNotNull() {
            addCriterion("mr_id is not null");
            return (Criteria) this;
        }

        public Criteria andMrIdEqualTo(String value) {
            addCriterion("mr_id =", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotEqualTo(String value) {
            addCriterion("mr_id <>", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdGreaterThan(String value) {
            addCriterion("mr_id >", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdGreaterThanOrEqualTo(String value) {
            addCriterion("mr_id >=", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLessThan(String value) {
            addCriterion("mr_id <", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLessThanOrEqualTo(String value) {
            addCriterion("mr_id <=", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLike(String value) {
            addCriterion("mr_id like", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotLike(String value) {
            addCriterion("mr_id not like", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdIn(List<String> values) {
            addCriterion("mr_id in", values, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotIn(List<String> values) {
            addCriterion("mr_id not in", values, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdBetween(String value1, String value2) {
            addCriterion("mr_id between", value1, value2, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotBetween(String value1, String value2) {
            addCriterion("mr_id not between", value1, value2, "mrId");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNull() {
            addCriterion("id_card is null");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNotNull() {
            addCriterion("id_card is not null");
            return (Criteria) this;
        }

        public Criteria andIdCardEqualTo(String value) {
            addCriterion("id_card =", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotEqualTo(String value) {
            addCriterion("id_card <>", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThan(String value) {
            addCriterion("id_card >", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThanOrEqualTo(String value) {
            addCriterion("id_card >=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThan(String value) {
            addCriterion("id_card <", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThanOrEqualTo(String value) {
            addCriterion("id_card <=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLike(String value) {
            addCriterion("id_card like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotLike(String value) {
            addCriterion("id_card not like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardIn(List<String> values) {
            addCriterion("id_card in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotIn(List<String> values) {
            addCriterion("id_card not in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardBetween(String value1, String value2) {
            addCriterion("id_card between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotBetween(String value1, String value2) {
            addCriterion("id_card not between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andPreQualityRepairContentIsNull() {
            addCriterion("pre_quality_repair_content is null");
            return (Criteria) this;
        }

        public Criteria andPreQualityRepairContentIsNotNull() {
            addCriterion("pre_quality_repair_content is not null");
            return (Criteria) this;
        }

        public Criteria andPreQualityRepairContentEqualTo(String value) {
            addCriterion("pre_quality_repair_content =", value, "preQualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andPreQualityRepairContentNotEqualTo(String value) {
            addCriterion("pre_quality_repair_content <>", value, "preQualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andPreQualityRepairContentGreaterThan(String value) {
            addCriterion("pre_quality_repair_content >", value, "preQualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andPreQualityRepairContentGreaterThanOrEqualTo(String value) {
            addCriterion("pre_quality_repair_content >=", value, "preQualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andPreQualityRepairContentLessThan(String value) {
            addCriterion("pre_quality_repair_content <", value, "preQualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andPreQualityRepairContentLessThanOrEqualTo(String value) {
            addCriterion("pre_quality_repair_content <=", value, "preQualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andPreQualityRepairContentLike(String value) {
            addCriterion("pre_quality_repair_content like", value, "preQualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andPreQualityRepairContentNotLike(String value) {
            addCriterion("pre_quality_repair_content not like", value, "preQualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andPreQualityRepairContentIn(List<String> values) {
            addCriterion("pre_quality_repair_content in", values, "preQualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andPreQualityRepairContentNotIn(List<String> values) {
            addCriterion("pre_quality_repair_content not in", values, "preQualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andPreQualityRepairContentBetween(String value1, String value2) {
            addCriterion("pre_quality_repair_content between", value1, value2, "preQualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andPreQualityRepairContentNotBetween(String value1, String value2) {
            addCriterion("pre_quality_repair_content not between", value1, value2, "preQualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andQualityRepairContentIsNull() {
            addCriterion("quality_repair_content is null");
            return (Criteria) this;
        }

        public Criteria andQualityRepairContentIsNotNull() {
            addCriterion("quality_repair_content is not null");
            return (Criteria) this;
        }

        public Criteria andQualityRepairContentEqualTo(String value) {
            addCriterion("quality_repair_content =", value, "qualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andQualityRepairContentNotEqualTo(String value) {
            addCriterion("quality_repair_content <>", value, "qualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andQualityRepairContentGreaterThan(String value) {
            addCriterion("quality_repair_content >", value, "qualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andQualityRepairContentGreaterThanOrEqualTo(String value) {
            addCriterion("quality_repair_content >=", value, "qualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andQualityRepairContentLessThan(String value) {
            addCriterion("quality_repair_content <", value, "qualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andQualityRepairContentLessThanOrEqualTo(String value) {
            addCriterion("quality_repair_content <=", value, "qualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andQualityRepairContentLike(String value) {
            addCriterion("quality_repair_content like", value, "qualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andQualityRepairContentNotLike(String value) {
            addCriterion("quality_repair_content not like", value, "qualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andQualityRepairContentIn(List<String> values) {
            addCriterion("quality_repair_content in", values, "qualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andQualityRepairContentNotIn(List<String> values) {
            addCriterion("quality_repair_content not in", values, "qualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andQualityRepairContentBetween(String value1, String value2) {
            addCriterion("quality_repair_content between", value1, value2, "qualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andQualityRepairContentNotBetween(String value1, String value2) {
            addCriterion("quality_repair_content not between", value1, value2, "qualityRepairContent");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateManIsNull() {
            addCriterion("update_man is null");
            return (Criteria) this;
        }

        public Criteria andUpdateManIsNotNull() {
            addCriterion("update_man is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateManEqualTo(String value) {
            addCriterion("update_man =", value, "updateMan");
            return (Criteria) this;
        }

        public Criteria andUpdateManNotEqualTo(String value) {
            addCriterion("update_man <>", value, "updateMan");
            return (Criteria) this;
        }

        public Criteria andUpdateManGreaterThan(String value) {
            addCriterion("update_man >", value, "updateMan");
            return (Criteria) this;
        }

        public Criteria andUpdateManGreaterThanOrEqualTo(String value) {
            addCriterion("update_man >=", value, "updateMan");
            return (Criteria) this;
        }

        public Criteria andUpdateManLessThan(String value) {
            addCriterion("update_man <", value, "updateMan");
            return (Criteria) this;
        }

        public Criteria andUpdateManLessThanOrEqualTo(String value) {
            addCriterion("update_man <=", value, "updateMan");
            return (Criteria) this;
        }

        public Criteria andUpdateManLike(String value) {
            addCriterion("update_man like", value, "updateMan");
            return (Criteria) this;
        }

        public Criteria andUpdateManNotLike(String value) {
            addCriterion("update_man not like", value, "updateMan");
            return (Criteria) this;
        }

        public Criteria andUpdateManIn(List<String> values) {
            addCriterion("update_man in", values, "updateMan");
            return (Criteria) this;
        }

        public Criteria andUpdateManNotIn(List<String> values) {
            addCriterion("update_man not in", values, "updateMan");
            return (Criteria) this;
        }

        public Criteria andUpdateManBetween(String value1, String value2) {
            addCriterion("update_man between", value1, value2, "updateMan");
            return (Criteria) this;
        }

        public Criteria andUpdateManNotBetween(String value1, String value2) {
            addCriterion("update_man not between", value1, value2, "updateMan");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andFirstLeverMedicalGuidIsNull() {
            addCriterion("first_lever_medical_guid is null");
            return (Criteria) this;
        }

        public Criteria andFirstLeverMedicalGuidIsNotNull() {
            addCriterion("first_lever_medical_guid is not null");
            return (Criteria) this;
        }

        public Criteria andFirstLeverMedicalGuidEqualTo(String value) {
            addCriterion("first_lever_medical_guid =", value, "firstLeverMedicalGuid");
            return (Criteria) this;
        }

        public Criteria andFirstLeverMedicalGuidNotEqualTo(String value) {
            addCriterion("first_lever_medical_guid <>", value, "firstLeverMedicalGuid");
            return (Criteria) this;
        }

        public Criteria andFirstLeverMedicalGuidGreaterThan(String value) {
            addCriterion("first_lever_medical_guid >", value, "firstLeverMedicalGuid");
            return (Criteria) this;
        }

        public Criteria andFirstLeverMedicalGuidGreaterThanOrEqualTo(String value) {
            addCriterion("first_lever_medical_guid >=", value, "firstLeverMedicalGuid");
            return (Criteria) this;
        }

        public Criteria andFirstLeverMedicalGuidLessThan(String value) {
            addCriterion("first_lever_medical_guid <", value, "firstLeverMedicalGuid");
            return (Criteria) this;
        }

        public Criteria andFirstLeverMedicalGuidLessThanOrEqualTo(String value) {
            addCriterion("first_lever_medical_guid <=", value, "firstLeverMedicalGuid");
            return (Criteria) this;
        }

        public Criteria andFirstLeverMedicalGuidLike(String value) {
            addCriterion("first_lever_medical_guid like", value, "firstLeverMedicalGuid");
            return (Criteria) this;
        }

        public Criteria andFirstLeverMedicalGuidNotLike(String value) {
            addCriterion("first_lever_medical_guid not like", value, "firstLeverMedicalGuid");
            return (Criteria) this;
        }

        public Criteria andFirstLeverMedicalGuidIn(List<String> values) {
            addCriterion("first_lever_medical_guid in", values, "firstLeverMedicalGuid");
            return (Criteria) this;
        }

        public Criteria andFirstLeverMedicalGuidNotIn(List<String> values) {
            addCriterion("first_lever_medical_guid not in", values, "firstLeverMedicalGuid");
            return (Criteria) this;
        }

        public Criteria andFirstLeverMedicalGuidBetween(String value1, String value2) {
            addCriterion("first_lever_medical_guid between", value1, value2, "firstLeverMedicalGuid");
            return (Criteria) this;
        }

        public Criteria andFirstLeverMedicalGuidNotBetween(String value1, String value2) {
            addCriterion("first_lever_medical_guid not between", value1, value2, "firstLeverMedicalGuid");
            return (Criteria) this;
        }

        public Criteria andMedQualityControlIdIsNull() {
            addCriterion("med_quality_control_id is null");
            return (Criteria) this;
        }

        public Criteria andMedQualityControlIdIsNotNull() {
            addCriterion("med_quality_control_id is not null");
            return (Criteria) this;
        }

        public Criteria andMedQualityControlIdEqualTo(Integer value) {
            addCriterion("med_quality_control_id =", value, "medQualityControlId");
            return (Criteria) this;
        }

        public Criteria andMedQualityControlIdNotEqualTo(Integer value) {
            addCriterion("med_quality_control_id <>", value, "medQualityControlId");
            return (Criteria) this;
        }

        public Criteria andMedQualityControlIdGreaterThan(Integer value) {
            addCriterion("med_quality_control_id >", value, "medQualityControlId");
            return (Criteria) this;
        }

        public Criteria andMedQualityControlIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("med_quality_control_id >=", value, "medQualityControlId");
            return (Criteria) this;
        }

        public Criteria andMedQualityControlIdLessThan(Integer value) {
            addCriterion("med_quality_control_id <", value, "medQualityControlId");
            return (Criteria) this;
        }

        public Criteria andMedQualityControlIdLessThanOrEqualTo(Integer value) {
            addCriterion("med_quality_control_id <=", value, "medQualityControlId");
            return (Criteria) this;
        }

        public Criteria andMedQualityControlIdIn(List<Integer> values) {
            addCriterion("med_quality_control_id in", values, "medQualityControlId");
            return (Criteria) this;
        }

        public Criteria andMedQualityControlIdNotIn(List<Integer> values) {
            addCriterion("med_quality_control_id not in", values, "medQualityControlId");
            return (Criteria) this;
        }

        public Criteria andMedQualityControlIdBetween(Integer value1, Integer value2) {
            addCriterion("med_quality_control_id between", value1, value2, "medQualityControlId");
            return (Criteria) this;
        }

        public Criteria andMedQualityControlIdNotBetween(Integer value1, Integer value2) {
            addCriterion("med_quality_control_id not between", value1, value2, "medQualityControlId");
            return (Criteria) this;
        }

        public Criteria andCheckManIsNull() {
            addCriterion("check_man is null");
            return (Criteria) this;
        }

        public Criteria andCheckManIsNotNull() {
            addCriterion("check_man is not null");
            return (Criteria) this;
        }

        public Criteria andCheckManEqualTo(String value) {
            addCriterion("check_man =", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManNotEqualTo(String value) {
            addCriterion("check_man <>", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManGreaterThan(String value) {
            addCriterion("check_man >", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManGreaterThanOrEqualTo(String value) {
            addCriterion("check_man >=", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManLessThan(String value) {
            addCriterion("check_man <", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManLessThanOrEqualTo(String value) {
            addCriterion("check_man <=", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManLike(String value) {
            addCriterion("check_man like", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManNotLike(String value) {
            addCriterion("check_man not like", value, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManIn(List<String> values) {
            addCriterion("check_man in", values, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManNotIn(List<String> values) {
            addCriterion("check_man not in", values, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManBetween(String value1, String value2) {
            addCriterion("check_man between", value1, value2, "checkMan");
            return (Criteria) this;
        }

        public Criteria andCheckManNotBetween(String value1, String value2) {
            addCriterion("check_man not between", value1, value2, "checkMan");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}